import {
  createRouter,
  createWebHistory
} from 'vue-router';
import routes from './routes';

const router = createRouter({
  routes,
  history: createWebHistory()
});

const install = (app) => {
  app.use(router);
};

export default {
  install
};